
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>App配置以及其他方法 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="zu-jian-shuo-ming.html" />
    
    
    <link rel="prev" href="appji-zhu-kuang-jia-shuo-ming.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    前言
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="jie-shao.html">
            
                <a href="jie-shao.html">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="xu-yao-kan-de-kuang-jia-wen-dang.html">
            
                <a href="xu-yao-kan-de-kuang-jia-wen-dang.html">
            
                    
                    需要看的框架文档
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="an-zhuang.html">
            
                <a href="an-zhuang.html">
            
                    
                    安装与调试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="kai-fa-huan-jing-yi-lai-mo-kuai-shuo-ming.html">
            
                <a href="kai-fa-huan-jing-yi-lai-mo-kuai-shuo-ming.html">
            
                    
                    开发环境依赖模块说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="xiang-mu-mu-lu-shuo-ming.html">
            
                <a href="xiang-mu-mu-lu-shuo-ming.html">
            
                    
                    项目目录说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="fa-bu-yun-xing.html">
            
                <a href="fa-bu-yun-xing.html">
            
                    
                    发布运行程序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="gou-jian-gong-ju-pei-zhi.html">
            
                <a href="gou-jian-gong-ju-pei-zhi.html">
            
                    
                    构建工具配置说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="appji-zhu-kuang-jia-shuo-ming.html">
            
                <a href="appji-zhu-kuang-jia-shuo-ming.html">
            
                    
                    App技术框架说明
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.8" data-path="apppei-zhi-yi-ji-qi-ta-fang-fa.html">
            
                <a href="apppei-zhi-yi-ji-qi-ta-fang-fa.html">
            
                    
                    App配置以及其他方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="zu-jian-shuo-ming.html">
            
                <a href="zu-jian-shuo-ming.html">
            
                    
                    组件说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="appye-wu-luo-ji-shuo-ming.html">
            
                <a href="appye-wu-luo-ji-shuo-ming.html">
            
                    
                    App业务逻辑说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="appda-bao-ji-jie-kou-diao-yong.html">
            
                <a href="appda-bao-ji-jie-kou-diao-yong.html">
            
                    
                    App打包及接口调用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="chang-jian-wen-ti.html">
            
                <a href="chang-jian-wen-ti.html">
            
                    
                    常见问题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="chang-jian-wen-ti/muikuang-jia-yu-fa-wen-ti.html">
            
                <a href="chang-jian-wen-ti/muikuang-jia-yu-fa-wen-ti.html">
            
                    
                    mui框架语法问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="chang-jian-wen-ti/qi-ta-wen-ti.html">
            
                <a href="chang-jian-wen-ti/qi-ta-wen-ti.html">
            
                    
                    其他问题
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >App配置以及其他方法</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="app&#x914D;&#x7F6E;&#x4EE5;&#x53CA;&#x5176;&#x4ED6;&#x65B9;&#x6CD5;&#xFF08;srccommonjs&#xFF09;">app&#x914D;&#x7F6E;&#x4EE5;&#x53CA;&#x5176;&#x4ED6;&#x65B9;&#x6CD5;&#xFF08;src/common.js&#xFF09;</h2>
<h4 id="&#x4E00;&#x3001;app&#x516C;&#x7528;ajax&#x65B9;&#x6CD5;">&#x4E00;&#x3001;app&#x516C;&#x7528;ajax&#x65B9;&#x6CD5;</h4>
<p>&#x6839;&#x636E;&#x4E1A;&#x52A1;&#x903B;&#x8F91;&#x5B9A;&#x4E49;&#x4E86;&#x516C;&#x5171;ajax&#x65B9;&#x6CD5;&#xFF0C;token&#x6CE8;&#x5165;&#x3001;&#x8BF7;&#x6C42;&#x4F53;&#x5904;&#x7406;&#xFF0C;&#x4EE5;&#x53CA;&#x8FD4;&#x56DE;&#x6D88;&#x606F;&#x5904;&#x7406;</p>
<pre><code>     * ajax&#x65B9;&#x6CD5;
     * @param {Object} setting
     */
    app.ajax = function(setting) {
        var defaultSetting = {
            dataType: setting.dataType || &apos;json&apos;, //&#x670D;&#x52A1;&#x5668;&#x8FD4;&#x56DE;json&#x683C;&#x5F0F;&#x6570;&#x636E;
            type: (setting.url.lastIndexOf(&apos;.json&apos;) &gt; -1 ? &apos;get&apos; : (setting.type || &apos;post&apos;)),
            timeout: setting.timeout || 15000, //&#x8D85;&#x65F6;&#x65F6;&#x95F4;&#x8BBE;&#x7F6E;&#x4E3A;15&#x79D2;&#xFF1B;
            async: true,
            showWaiting: setting.showWaiting || false,
            success: function(resp, status, xhr) {
                app.log(/\/([\w\.]+)$/.exec(setting.url)[1] + &apos;&#x8FD4;&#x56DE;&#x6570;&#x636E;:&apos; + JSON.stringify(resp));
                switch(resp.flag) {
                    case &apos;2000&apos;:
                        mui.isFunction(setting.success) &amp;&amp; setting.success(resp.result, resp.message);
                        break;
                    case &apos;777&apos;: //token&#x81EA;&#x52A8;&#x7EED;&#x671F;
                        app.ajax({
                            url: app.api[&apos;login&apos;],
                            data: JSON.parse(localStorage.lastLogin),
                            success: function(data) {
                                if(data.contents == &apos;3&apos;) { //&#x672A;&#x6FC0;&#x6D3B;
                                    localStorage.activateToken = data[&apos;access_token&apos;];
                                    app.closeWaiting();
                                    mui.confirm(lang.activate[0], &apos;&apos;, [lang.activate[1], lang.activate[2]], function(e) {
                                        if(e.index == 0) {
                                            userLogin(data);
                                        } else if(e.index == 1) {
                                            vm.openWindow({ url: &apos;../activate/activate.html&apos;, styles: { top: 0 } });
                                        }
                                    });
                                } else if(data.contents == &apos;4&apos;) {
                                    localStorage.activateToken = data[&apos;access_token&apos;];
                                    app.closeWaiting();
                                    mui.alert(lang.activate[0], &apos;&apos;, lang.activate[2], function(e) {
                                        if(e.index == 0)
                                            vm.openWindow({ url: &apos;../activate/activate.html&apos;, styles: { top: 0 } });
                                    });
                                } else {
                                    userLogin(data);
                                }

                                function userLogin(data) {
                                    if(localStorage.adminToken != null)
                                        localStorage.adminToken = data[&apos;access_token&apos;];
                                    else localStorage.token = data[&apos;access_token&apos;];
                                    app.ajax(setting);
                                }
                            },
                            error: function() {
                                mui.toast(lang.loginFailed)
                                if (window.plus) mui.fire(plus.webview.getWebviewById(&apos;browser_main&apos;), &apos;logout&apos;);
                            }
                        });
                        break;
                    case &apos;778&apos;:
                        alert(resp.message);
                        if (window.plus)
                            mui.fire(plus.webview.getWebviewById(&apos;browser_main&apos;), &apos;logout&apos;);
                        else mui.plusReady(function() {
                            mui.fire(plus.webview.getWebviewById(&apos;browser_main&apos;), &apos;logout&apos;);
                        })
                        break;
                    case &apos;401&apos;:
                    case &apos;200&apos;:
                    case &apos;204&apos;:
                    case &apos;400&apos;:
                    case &apos;404&apos;:
                    case &apos;429&apos;:
                    case &apos;500&apos;:
                    default:
                        if (resp.message.indexOf(&quot;Token&#x65E0;&#x6548;&quot;)&gt;-1) {
                            app.ajax({
                                url: app.api.getDevices,
                                data: {
                                    psize: 100,
                                },
                                success: function(d) {
                                    var devices = d.items.map(function(item) {
                                        return item.cid
                                    });
                                    if (devices.indexOf(app.getUser().uid)==-1) {
                                        mui.toast(lang.lastCid+app.getUser().uid+lang.removed+devices[0]);
                                        var u = JSON.parse(localStorage.user);
                                        u.uid = devices[0];
                                        localStorage.user = JSON.stringify(u);
                                    }
                                }
                            })
                        } else if(resp.message != &apos;&#x8BBF;&#x95EE;&#x8FC7;&#x4E8E;&#x9891;&#x7E41;&apos;)
                            mui.toast(resp.message);
                        mui.isFunction(setting.error) &amp;&amp; setting.error(resp.result);
                        break;
                }
            },
            complete: function(xhr, status) {
                if(setting.showWaiting &amp;&amp; setting.closeWaiting != false) {
                    app.closeWaiting();
                }
                var resp = xhr.response;
                if(status === &apos;success&apos; &amp;&amp; defaultSetting.dataType.toLowerCase() === &apos;json&apos;) {
                    resp = JSON.parse(resp);
                }
                if(typeof setting.complete == &apos;function&apos;) setting.complete(resp);
            },
            error: function(xhr, type, errorThrown) {
                var errorMsg = {
                    &apos;timeout&apos;: lang.timeout,
                    &apos;error&apos;: lang.error,
                    &apos;parsererror&apos;: lang.parsererror
                };
                mui.toast((errorMsg[type] || lang.ajaxError));
                if(typeof setting.error == &apos;function&apos;) setting.error(xhr, type, errorThrown);
            }
        };
        setting.beforeSend &amp;&amp; (defaultSetting.beforeSend = setting.beforeSend);
        defaultSetting.data = setting.data || {};

        if(setting.url &amp;&amp; skipAPI.indexOf(setting.url) == -1 &amp;&amp; !defaultSetting.data.cid) {
            var user = app.getUser();
            user &amp;&amp; (defaultSetting.data.cid = user.uid);
        }
        for (var i in defaultSetting.data) {
            if (defaultSetting.data[i]==null) delete defaultSetting.data[i];
        }
        defaultSetting.headers = {
            flag: app.config.flag,
            lang: navigator.language.slice(0, 2)
        };
        if(localStorage.adminToken != null) {
            defaultSetting.headers.token = localStorage.adminToken;
        } else if(localStorage.token != null) {
            defaultSetting.headers.token = localStorage.token;
        }
        if(setting.headers) mui.extend(true, defaultSetting.headers, setting.headers);
        if(setting.showWaiting) app.showWaiting(typeof setting.showWaiting === &apos;string&apos; ? setting.showWaiting : undefined);
        app.log(&apos;token:&apos; + defaultSetting.headers.token);
        app.log(&apos;&#x6B63;&#x5728;&#x8BF7;&#x6C42;api:&apos; + setting.url);
        app.log(&apos;&#x53D1;&#x9001;&#x6570;&#x636E;:&apos; + JSON.stringify(defaultSetting.data));
        mui.ajax(setting.url, defaultSetting);
    };
</code></pre><h4 id="&#x4E8C;&#x3001;&#x4FE1;&#x9E3D;&#x65B9;&#x6CD5;&#x914D;&#x7F6E;">&#x4E8C;&#x3001;&#x4FE1;&#x9E3D;&#x65B9;&#x6CD5;&#x914D;&#x7F6E;</h4>
<pre><code>//&#x4FE1;&#x9E3D;&#x63A8;&#x9001;
mui.plusReady(function() {
    var _BARCODE = &apos;XGPush&apos;, B = window.plus.bridge;
    window.plus.XGPush = {
        unregister: function() {
            return B.execSync(_BARCODE, &quot;unregister&quot;, []);
        },
        getToken: function() {
            return B.execSync(_BARCODE, &quot;getToken&quot;, []);
        },
        //arg123&#x662F;&#x5185;&#x5BB9;&#xFF0C;&#x5206;&#x4E09;&#x884C;&#x663E;&#x793A;&#xFF0C;extra&#x662F;&#x989D;&#x5916;&#x4FE1;&#x606F;&#x7528;&#x4E8E;&#x70B9;&#x51FB;&#x540E;&#x5904;&#x7406;
        createMessage: function(arg1, arg2, arg3, title, extra) {
            return B.execSync(_BARCODE, &quot;createMessage&quot;, [arg1, arg2, arg3, title, extra]);
        },
    };
    if (mui.os.android) {
        window.plus.XGPush.register = function(sc, ec) {
            return B.exec(_BARCODE, &quot;register&quot;, [B.callbackId(sc, ec)]);
        }
    } else {  //ios&#x4E0B;register&#x4E3A;&#x5173;&#x952E;&#x8BCD;
        window.plus.XGPush.register = function(sc, ec) {
            return B.exec(_BARCODE, &quot;registers&quot;, [B.callbackId(sc, ec)]);
        }
    }
})
</code></pre><h4 id="&#x4E09;&#x3001;&#x7279;&#x5B9A;&#x5BF9;&#x8C61;&#x83B7;&#x53D6;&#x5B9A;&#x4E49;">&#x4E09;&#x3001;&#x7279;&#x5B9A;&#x5BF9;&#x8C61;&#x83B7;&#x53D6;&#x5B9A;&#x4E49;</h4>
<pre><code>Object.defineProperty(window, &apos;lsUserInfo&apos;, {
    get: function() {
        return localStorage.userInfo ? JSON.parse(localStorage.userInfo) : {
            &quot;info&quot;: {
                &quot;cowner&quot;: &quot;&quot;,
                &quot;usex&quot;: 0,
                &quot;ubirthday&quot;: &quot;&quot;,
                &quot;ephoto&quot;: &apos;./userimg.png&apos;,
                &quot;bgphoto&quot;: &apos;./back.png&apos;,
                &quot;clink&quot;: &quot;&quot;,
                &quot;cendtime&quot;: &apos;&apos;,
            },
            &quot;devList&quot;: {
                &quot;list&quot;: []
            }
        };
    }
});
</code></pre><h4 id="&#x56DB;&#x3001;&#x5B9A;&#x4E49;&#x5168;&#x5C40;&#x53D8;&#x91CF;">&#x56DB;&#x3001;&#x5B9A;&#x4E49;&#x5168;&#x5C40;&#x53D8;&#x91CF;</h4>
<pre><code>window.User = function (uid, role, clink) {
    this.uid = uid;
    this.role = role || &apos;normal&apos;;
    this.clink = clink || &apos;&apos;;
}
</code></pre><h4 id="&#x4E94;&#x3001;&#x5B9A;&#x4E49;&#x5168;&#x5C40;&#x51FD;&#x6570;&#x65B9;&#x6CD5;">&#x4E94;&#x3001;&#x5B9A;&#x4E49;&#x5168;&#x5C40;&#x51FD;&#x6570;&#x65B9;&#x6CD5;</h4>
<pre><code>    /**
     * &#x83B7;&#x53D6;User
     */
    app.getUser = function() {
        return JSON.parse(localStorage.user || &apos;{}&apos;);
    };
</code></pre><h5 id="&#x516D;&#x3001;&#x516C;&#x5171;&#x6837;&#x5F0F;&#xFF08;srccommoncss&#xFF09;">&#x516D;&#x3001;&#x516C;&#x5171;&#x6837;&#x5F0F;&#xFF08;src/common.css&#xFF09;</h5>
<p>stylus&#x9884;&#x5904;&#x7406;&#x5668;&#x8BBE;&#x7F6E;&#x7684;&#x5168;&#x5C40;&#x53D8;&#x91CF;&#x5904;&#x7406;</p>
<pre><code>//&#x8C03;&#x5C0F;&#x82F1;&#x6587;&#x5B57;&#x4F53;
html:lang(en) {
    font-size: 110%;
}
</code></pre><h5 id="&#x4E03;&#x3001;&#x63A5;&#x53E3;&#x7EDF;&#x4E00;&#x914D;&#x7F6E;">&#x4E03;&#x3001;&#x63A5;&#x53E3;&#x7EDF;&#x4E00;&#x914D;&#x7F6E;</h5>
<p>&#x914D;&#x7F6E;app&#x7684;&#x6240;&#x6709;&#x63A5;&#x53E3;</p>
<pre><code>if(app.config.isDebug) {
        //app.config.apiDomain = &apos;http://che.ijiashequ.cn:8010/loveApi&apos;;
        //app.config.apiDomain = &apos;http://192.168.33.81/loveApi&apos;; //API&#x5434;&#x957F;
        //app.config.apiDomain =&apos;http://192.168.33.152:8088/api&apos;;//API&#x5218;&#x672C;&#x5730;
        //app.config.apiDomain =&apos;http://192.168.33.93:8080/api&apos;;//API&#x90D1;&#x672C;&#x5730;
        app.config.apiDomain = &apos;http://192.168.33.158:8007/loveApiIn&apos;; //API&#x88F4;&#x672C;&#x5730;
        //app.config.apiDomain = &apos;http://192.168.33.114/api&apos;;//&#x8C22;API&#x672C;&#x5730;
        //app.config.apiDomain = &apos;http://192.168.33.92:8080/api&apos;; //&#x5F20;&#x78CA;&#x6D4B;&#x8BD5;
    }
    //&#x5E38;&#x7528;&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;
    app.Reg = {};
    app.Reg.MODULE_NAME = /([\w-]+)\.html/; //&#x5339;&#x914D;&#x6A21;&#x5757;&#x540D;
    app.Reg.HTTP_URL = /^((https|http)?:\/\/)/; //&#x6821;&#x9A8C;http url
    app.Reg.IS_MOBILE = /^1[3|4|5|7|8]\d{9}$/; //&#x624B;&#x673A;&#x53F7;&#x7801;
    app.Reg.EMAIL = /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/; //&#x90AE;&#x7BB1;
    //&#x6240;&#x6709;api&#x63A5;&#x53E3; http://192.168.33.8:7070/svnpro/weixin/car_guard/doc/&#x8F66;&#x536B;&#x58EB;&#x901A;&#x7528;&#x7248;&#x4E1A;&#x52A1;&#x63A5;&#x53E3;.doc
    app.api = {
        &apos;getcaruserinfo&apos;: &apos;/carguard/user/getCarUserInfo.do&apos;, //?name=030650611(&#x8F66;&#x8F86;&#x7528;&#x6237;&#x4FE1;&#x606F;)
        &apos;updatecaruserinfo&apos;: &apos;/carguard/user/updateCarUserInfo.do&apos;, //?id=16775&amp;num=15001914584&amp;name=&#x5FB7;&#x5FE0;
        &apos;getcarusermap&apos;: &apos;/carguard/user/getCarUserMapInfo.do&apos;, //?name=030619991(&#x9996;&#x9875;&#x5730;&#x7406;&#x4F4D;&#x7F6E;+&#x5E7B;&#x706F;&#x7247;&#x5BA3;&#x4F20;&#x4FE1;&#x606F;)
        &apos;getRealTimePosition&apos;: &apos;/cheway/point/getRealTimePosition.do&apos;, //?cid=030650611(&#x83B7;&#x53D6;&#x5B9E;&#x65F6;&#x4F4D;&#x7F6E;&#x4FE1;&#x606F;)
        &apos;getcardaydistance&apos;: &apos;/carguard/user/getCarTance.do&apos;, //?cid=030619991(&#x4ECA;&#x65E5;&#x5386;&#x7A0B;&lt;&#x5355;&#x4F4D;&#xFF1A;&#x5343;&#x7C73;&gt;)
        &apos;getlastwarninfo&apos;: &apos;/carguard/warn/searchLastWarn.do&apos;, //?name=030619991(&#x544A;&#x8B66;&#x8BB0;&#x5F55;&#x5217;&#x8868;)
        &apos;getwarninfo&apos;: &apos;/carguard/warn/searchWarn.do&apos;, //?name=030619991&amp;lastId=11111&lt;&#x544A;&#x8B66;&#x6700;&#x5927;&#x5185;&#x7801;&gt;(&#x544A;&#x8B66;&#x8BB0;&#x5F55;&#x5217;&#x8868;)
        &apos;setwarninfo&apos;: &apos;/carguard/warn/setCarWarnByHaved.do&apos;, //?id=4907999(&#x8BBE;&#x7F6E;&#x5DF2;&#x8BFB;&#x7684;&#x544A;&#x8B66;&#x8BB0;&#x5F55;)
        &apos;getAlertsRecord&apos;: &apos;/cheway/alert/getAlertsRecord.do&apos;, //&#x83B7;&#x53D6;&#x4E00;&#x5929;&#x7684;&#x544A;&#x8B66;&#x8BB0;&#x5F55;&#x5217;&#x8868;
        &apos;saveSuperCare&apos;: &apos;/carguard/other/saveSuperCare.do&apos;, //?cid=030619991&amp;val=0&lt;0 &#x64A4;&#x9632; 1 &#x8BBE;&#x9632;&gt;(&#x8BBE;&#x7F6E;&#x8D85;&#x7EA7;&#x8BBE;&#x9632;&#x548C;&#x64A4;&#x9632;&#x72B6;&#x6001;)
        &apos;getSuperCare&apos;: &apos;/carguard/other/getSuperCare.do&apos;, //?cid=030619991(&#x7372;&#x53D6;&#x8D85;&#x7EA7;&#x8BBE;&#x9632;&#x548C;&#x64A4;&#x9632;&#x72B6;&#x6001;)
        &apos;saveNormalCare&apos;: &apos;/carguard/other/saveNormalCare.do&apos;, //?cid=030619991&amp;type=0&lt;0:&#x8BBE;&#x9632;,1:&#x64A4;&#x9632;&gt;(&#x8BBE;&#x7F6E;&#x8BBE;&#x9632;&#x548C;&#x64A4;&#x9632;&#x72B6;&#x6001;)
        &apos;getNormalCare&apos;: &apos;/carguard/other/getNormalCare.do&apos;, //?cid=030619991(&#x7372;&#x53D6;&#x8BBE;&#x9632;&#x548C;&#x64A4;&#x9632;&#x72B6;&#x6001;)
    }
</code></pre>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="appji-zhu-kuang-jia-shuo-ming.html" class="navigation navigation-prev " aria-label="Previous page: App技术框架说明">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="zu-jian-shuo-ming.html" class="navigation navigation-next " aria-label="Next page: 组件说明">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"App配置以及其他方法","level":"1.8","depth":1,"next":{"title":"组件说明","level":"1.9","depth":1,"path":"zu-jian-shuo-ming.md","ref":"zu-jian-shuo-ming.md","articles":[]},"previous":{"title":"App技术框架说明","level":"1.7","depth":1,"path":"appji-zhu-kuang-jia-shuo-ming.md","ref":"appji-zhu-kuang-jia-shuo-ming.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"apppei-zhi-yi-ji-qi-ta-fang-fa.md","mtime":"2017-11-09T21:18:38.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-11-11T03:51:05.960Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

